filechooser: In testfilechooser, be strict about the --action option
authorFederico Mena Quintero <federico@gnome.org>
Fri, 21 Jun 2013 15:19:54 +0000 (10:19 -0500)
committerFederico Mena Quintero <federico@gnome.org>
Fri, 21 Jun 2013 15:41:39 +0000 (10:41 -0500)
commit8d4741042672cfa57ee5050ccb4fe06fa75289c0
tree83577e2a3050a99cad19ca04651e1d945befed98
parent1b3f9df361ac473cf7eb304002c4a36127317ead
filechooser: In testfilechooser, be strict about the --action option

It would default to GTK_FILE_CHOOSER_ACTION_OPEN if the user's specified --action could not be
parsed.  I can never remember what the right options are, so make the program bail out
if the user specifies an unrecognized option.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
tests/testfilechooser.c